package tech.aistar.entity.trading;
/**
 * 二手交易商品回复
 */

import java.io.Serializable;
import java.util.Date;

public class TransactionReply implements Serializable {
    private Integer id;//回复id

    private String replyId;//回复者姓名

    private Integer messageId;//评论id

    private String leaveName;//评论者的姓名

    private Date date;//回复内容

    private Integer praise;//回复时间

    private String content;//点赞

    private Integer status;//二手交易商品回复状态

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId == null ? null : replyId.trim();
    }

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public String getLeaveName() {
        return leaveName;
    }

    public void setLeaveName(String leaveName) {
        this.leaveName = leaveName == null ? null : leaveName.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("TransactionReply{");
        sb.append("id=").append(id);
        sb.append(", replyId='").append(replyId).append('\'');
        sb.append(", messageId=").append(messageId);
        sb.append(", leaveName='").append(leaveName).append('\'');
        sb.append(", date=").append(date);
        sb.append(", praise=").append(praise);
        sb.append(", content='").append(content).append('\'');
        sb.append(", status=").append(status);
        sb.append('}');
        return sb.toString();
    }
}